﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    /// <summary>
    /// 车辆信息
    /// </summary>
    [Serializable]
    public partial class CarInfo
    {
        #region Model
        private int _id;
        private string _carno;
        private int _driver;
        private string _gpsno;
        private int _carstate;
        private int _takecount;
        private string _userange;
        private int _cartype;
        private int _carnature;
        private int _state = 0;
        private bool _hasattachments = false;
        private string _chassisnumber;
        private string _carcolor;
        private string _cardisplacement;
        private decimal? _starmileage;
        private int? _maintenance;
        private string _imageurl;
        private int _orgzNo;
        private decimal _zcTonnage;
        private DateTime _buyTime;
        private int _serviceLife;
        
        /// <summary>
        /// 车辆档案编号
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string CarNo
        {
            set { _carno = value; }
            get { return _carno; }
        }
        /// <summary>
        /// 驾驶员
        /// </summary>
        public int Driver
        {
            set { _driver = value; }
            get { return _driver; }
        }
        /// <summary>
        /// GPS标识
        /// </summary>
        public string GPSNo
        {
            set { _gpsno = value; }
            get { return _gpsno; }
        }
        /// <summary>
        /// 当前状态
        /// </summary>
        public int CarState
        {
            set { _carstate = value; }
            get { return _carstate; }
        }
        /// <summary>
        /// 准载人数
        /// </summary>
        public int TakeCount
        {
            set { _takecount = value; }
            get { return _takecount; }
        }
        /// <summary>
        /// 使用范围
        /// </summary>
        public string UseRange
        {
            set { _userange = value; }
            get { return _userange; }
        }
        /// <summary>
        /// 车型
        /// </summary>
        public int CarType
        {
            set { _cartype = value; }
            get { return _cartype; }
        }
        /// <summary>
        /// 车辆性质
        /// </summary>
        public int CarNature
        {
            set { _carnature = value; }
            get { return _carnature; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 附件
        /// </summary>
        public bool HasAttachments
        {
            set { _hasattachments = value; }
            get { return _hasattachments; }
        }
        /// <summary>
        /// 车架号
        /// </summary>
        public string ChassisNumber
        {
            set { _chassisnumber = value; }
            get { return _chassisnumber; }
        }
        /// <summary>
        /// 车颜色
        /// </summary>
        public string CarColor
        {
            set { _carcolor = value; }
            get { return _carcolor; }
        }
        /// <summary>
        /// 排量
        /// </summary>
        public string CarDisplacement
        {
            set { _cardisplacement = value; }
            get { return _cardisplacement; }
        }
        /// <summary>
        /// 初始里程
        /// </summary>
        public decimal? StarMileage
        {
            set { _starmileage = value; }
            get { return _starmileage; }
        }
        /// <summary>
        /// 保养时段
        /// </summary>
        public int? Maintenance
        {
            set { _maintenance = value; }
            get { return _maintenance; }
        }
        /// <summary>
        /// 车辆图片
        /// </summary>
        public string ImageUrl
        {
            set { _imageurl = value; }
            get { return _imageurl; }
        }
        /// <summary>
        /// 车辆所属机构
        /// </summary>
        public int OrgzNo
        {
            get { return _orgzNo; }
            set { _orgzNo = value; }
        }
        /// <summary>
        /// 报废年限
        /// </summary>
        public int ServiceLife
        {
            get { return _serviceLife; }
            set { _serviceLife = value; }
        }
        /// <summary>
        /// 购买日期
        /// </summary>
        public DateTime BuyTime
        {
            get { return _buyTime; }
            set { _buyTime = value; }
        }
        /// <summary>
        /// 准载吨位
        /// </summary>
        public decimal ZcTonnage
        {
            get { return _zcTonnage; }
            set { _zcTonnage = value; }
        }
        #endregion Model

    }
}
